package com.xuelang.pipeline.client.resource.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotEmpty;

/**
 * @author xiwen.zxg
 * @since 2024/5/30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PodLogVO {

    /**
     * 组件标签
     */
    @NotEmpty(message = "组件标签不能为空")
    private String componentLabel;
    /**
     * 环境uuid
     */
    @NotEmpty(message = "环境uuid不能为空")
    private String environmentUuid;
    /**
     * pod名字
     */
    @NotEmpty(message = "pod名字不能为空")
    private String podName;
    /**
     * 容器名字
     */
    private String container;
    /**
     * 查询条数，倒排
     */
    private Integer limit;

}
